package com.lanju.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="lj_money")
public class Money implements Serializable{
	private static final long serialVersionUID = -1600219019264329257L;
	
	private Integer monty_id;
	
	private Integer type;
	
	private Integer price;
	
	private String phone;
	
	@Id
	@Column(name = "monty_id", unique = true, nullable = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Integer getMonty_id() {
		return monty_id;
	}

	public void setMonty_id(Integer monty_id) {
		this.monty_id = monty_id;
	}
	@Column(name="type")
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	@Column(name="price")
	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}
	@Column(name="phone")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
}
